﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.Serialization;

namespace TrainingWorkshop.Models
{
    /// <summary>
    /// Level Object
    /// </summary>
    [DataContract(Name = "Level")]
    public class Level
    {
        private int _LevelId;
        private string _LevelName;
        /// <summary>
        /// Primary key of Level
        /// </summary>
        [DataMember(Name = "LevelId")]
        public int LevelId
        {
            get { return _LevelId; }
            set { _LevelId = value; }
        }
        /// <summary>
        /// LevelName of Level
        /// </summary>
        [DataMember(Name = "LevelName")]
        public string LevelName
        {
            get { return _LevelName; }
            set { _LevelName = value; }
        }
    }
}
